<div class="inside">
  <aside class="navigationPanel">
     
     <div class="tree pagesLinks">
        <ul>
           <ul>
              <li> <a href="<?php echo $baseurl.'campaign-user.html'?>">Chiến dịch của bạn</a> </li>                      
              <li> <a href="<?php echo $baseurl.'add-campaign-user.html'?>">Tạo chiến dịch mới</a> </li>
               <li> <a class="active" href="#">Lịch sử giao dịch</a> </li>
           </ul>
        </ul>
     </div>
  </aside>
  <div class="contentPanel">
     <div class="pages" id="profile">
        <div class="profile-edit-form">
            <div class="contentBox switcher">
                 <h3>Lịch sử giao dịch</h3>
                 <div class="contentSwitcher hide" style="display: block;">
                    <div class="insideContentBox">
                          <div class="wicity">
                    			<table >
                    				<tr> 
                    					<td style="width: 5%;">
                    						STT
                    					</td>
                    					<td >
                    						Tên chiến dịch
                    					</td>
                    					<td>
                    					Ngân sách bỏ ra
                    					</td>
                                        <td style="">
                    						Thời gian tạo chiến dịch
                    					</td>
                    				</tr>
                                    
                                      
                                    <?php if ( $page == 0 ){ $page = 1;} 
                                                    $stt= $per_page*($page - 1) +1;
                                                    //echo $stt; ?>
									<?php $i = 1; foreach ( $data['data'] AS $el=>$le ){ ?>
                                    <tr> 
                    					<td style="width: 10%;">
                    						<?php echo $stt;?>
                    					</td>
                    					<td >
                    						<?php echo $le->title;?>
                    					</td>
                    					<td>
                    						<?php echo number_format($le->money).' VNĐ';?>
                    					</td>
                                        
                                        <td>
                    						<?php echo $fview->convertTimeRunCampaign($le->created);?>
                    					</td>
                    				</tr>
									<?php $stt++; } ?>
                                  
                    			</table>
                    		</div>
                              <div class="pagination">
                                <?php echo $this->pagination->create_links();?> 
                            </div> 
                    </div>
                 </div>
            </div>
        </div>
     </div>
  </div>
</div> 
<style>
body.flash-permanent .contentPanel {
padding: 100px 0px 18px !important;
}
.admin .contentBox .insideContentBox {
background: white;
padding: 26px 0px !important;
}
.delete-campaign-user{
	cursor: pointer;
}
</style>